<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
	<title th:text="${session.title}">123</title>
	<link th:replace="common/header"/>
	<link rel="stylesheet" th:href="@{/css/ace-skins.min.css}" />
    <link th:replace="common/tip"/>
    <script language="javascript" type="text/javascript" th:src="@{/js/My97DatePicker/WdatePicker.js}"></script>
</head>
	<body class="navbar-fixed">
  	<div th:replace="common/top"></div>
		<div class="container-fluid main_bg" id="main-container">
			<a id="menu-toggler" href="#"><span></span></a>
			<div th:replace="common/menu"></div>
			<div id="main-content" class="clearfix">
				<div id="page-content" class="clearfix">
					<div th:replace="common/title"></div>
					<h3 class="header smaller lighter blue"><em class="icon-list"></em>留言列表</h3>
					<form class="form-horizontal" th:object="${footLySearchForm}" method="post" th:action="@{/hy/footLy/search}"
                          name="form" th:if="${session.footUser.qx.text == '会员' || session.footUser.qx.text == 'VIP1' || session.footUser.qx.text == 'VIP2' || session.footUser.qx.text == 'VIP3'}">
					<div class="row-fluid">
						<!--PAGE CONTENT BEGINS HERE-->
						<div class="span12">
                    		<div class="row-fluid">
                          		<a class="btn" type="button" th:href="@{/index}"><em class="icon-arrow-left"></em>返回首页</a>
                        	</div>
                        	<table style="width:100%" border="0">
							    <tbody>
							      	<tr>
								        <th style="width: 120px;">发送时间:</th>
								        <td style="width: auto;">
                                            <input type="text" name="sendTime" id="sendTime" class="input_fix2" placeholder="发送时间"/>
								            <img onclick="WdatePicker({el:'sendTime',dateFmt:'yyyy-MM-dd'})"
												style="width:16px;height:22px"  src="" alt=""
												th:src="@{/js/My97DatePicker/skin/datePicker.gif}">
								        </td>
										<th style="width: 120px;">留言信息:</th>
								        <td style="width: auto;"><input type="text" name="lyid" class="input_fix" placeholder="留言信息"/></td>
								        <td style="width:120px;">
								        	<button class="btn btn-info" style="float: right;" type="button" onclick="pagechange(1);"><em class="icon-search"></em>查询</button>
								        </td>
							      	</tr>
							  	</tbody>
							</table>
                    		<table id="table_bug_report" class="table table-hover">
								<thead>
									<tr>
										<th>发送人</th>
								        <th>发送时间</th>
								        <th class="hidden-480">留言信息</th>
									</tr>
								</thead>
								<tbody>
									<tr th:each="t:${footLyList}">
										<td><a th:href="@{/hy/footLy/view(id=${t.id})}">管理员</a></td>
								        <td><a th:href="@{/hy/footLy/view(id=${t.id})}" th:text="${#dates.format(t.sendTime, 'yyyy-MM-dd')}">123</a></td>
								        <td class="hidden-480"><a th:href="@{/hy/footLy/view(id=${t.id})}" th:title="${t.content}" th:text="${#strings.length(t.content) > 38 ? #strings.substring(t.content ,0 ,38) + '&hellip;' : t.content}">123</a></td>
									</tr>
								</tbody>
								<tfoot>
							     	<tr>
							        	<td colspan="3">
                                            <div class="row-fluid" th:include="common/page :: page"></div>
							        	</td>
							     	</tr>
								</tfoot>
							</table>
                        	<!--/#page-content-->
						</div>
              			<!--/#page-content-->
					</div>
					</form>
           		</div>
				<div th:replace="common/skin :: skin"></div>
		</div><!--/#main-content-->
	</div><!--/.fluid-container#main-container-->
	<div th:replace="common/jsList"></div>
	</body>
</html>
